package com.jinzecloud.reportapproval.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jinzecloud.reportapproval.utils.PageUtils;
import com.jinzecloud.reportapproval.utils.Query;

import com.jinzecloud.reportapproval.mapper.ExperimentalfieldsurveyrecordMapper;
import com.jinzecloud.reportapproval.bean.Experimentalfieldsurveyrecord;
import com.jinzecloud.reportapproval.service.ExperimentalfieldsurveyrecordService;


@Service("experimentalfieldsurveyrecordService")
public class ExperimentalfieldsurveyrecordServiceImpl extends ServiceImpl<ExperimentalfieldsurveyrecordMapper, Experimentalfieldsurveyrecord> implements ExperimentalfieldsurveyrecordService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<Experimentalfieldsurveyrecord> page = this.page(
                new Query<Experimentalfieldsurveyrecord>().getPage(params),
                new QueryWrapper<Experimentalfieldsurveyrecord>()
        );

        return new PageUtils(page);
    }

}